﻿<wpfui:UiPage
    x:Class="LenovoLegionToolkit.WPF.Pages.DashboardPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="clr-namespace:LenovoLegionToolkit.WPF.Controls"
    xmlns:dashboard="clr-namespace:LenovoLegionToolkit.WPF.Controls.Dashboard"
    xmlns:resources="clr-namespace:LenovoLegionToolkit.WPF.Resources"
    xmlns:utils="clr-namespace:LenovoLegionToolkit.WPF.Utils"
    xmlns:wpfui="http://schemas.lepo.co/wpfui/2022/xaml"
    Title="{x:Static resources:Resource.DashboardPage_Title}"
    FlowDirection="{x:Static utils:LocalizationHelper.Direction}"
    Initialized="DashboardPage_Initialized"
    Scrollable="True"
    SizeChanged="DashboardPage_SizeChanged">

    <controls:LoadableControl
        x:Name="_loader"
        Margin="0,0,0,12"
        IndicatorMargin="0,64,0,0">
        <StackPanel>
            <dashboard:SensorsControl x:Name="_sensors" Margin="0,16,16,0" />
            <Grid x:Name="_content" />
        </StackPanel>
    </controls:LoadableControl>

</wpfui:UiPage>
